Skip to content

Conversation

@mfahampshire
Copy link
Contributor

@mfahampshire mfahampshire commented Dec 4, 2025

This PR makes the necessary modifications to be able to publish the majority of the Nym monorepo workspace crates to https://crates.io (essentially everything aside from binaries, internal tools, and a few select other things).

Overall, this PR:

  • defines a workspace version for these crates; we want to keep them all in line with each other, even if that means bumping versions frequently and when there hasn't necessarily been a change in all crates.
    adds a script to use cargo release to publish the SDK + its dependencies - cargo release deals with creating them in the correct order
  • excludes crates we dont want to publish via each crates' cargo.toml file
  • adds a global version definition for crates in the root cargo.toml
  • changes most imports from path to using the workspace version

Todo:

  • fix issues re git crates
    • bls crate: upload fork to crates.io
    • merge Upgrade to def_guard_wireguard v0.8.0 #6315 branch to make sure that there is no issue with new clients/gws and legacy ones after the dependency upgrade. If all good, change git import to 0.8.0 from crates as per PR Testing has been done on a NymVPN instance that was compiled with the new dependency interacting with mainnet gateways. The reverse situation will be tested by QA.
  • checkin on 'max todo' descriptions
  • experiment: remove separate contracts/ workspace - TEMP in max/crates-io-prep-v2-contract-experiment EDIT: publish crates then just use crates.io imports for contracts/
  • fix nym-credential-verification compilation errs in dryrun
  • add publishing.md writeup

This change is Reviewable

@vercel
Copy link

vercel bot commented Dec 4, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
nym-explorer-v2 Ready Ready Preview, Comment Jan 19, 2026 10:57am
2 Skipped Deployments
Project Deployment Review Updated (UTC)
docs-nextra Ignored Ignored Preview Jan 19, 2026 10:57am
nym-node-status Ignored Ignored Preview Jan 19, 2026 10:57am

Request Review

@mfahampshire mfahampshire force-pushed the max/crates-io-prep-v2 branch from d07d3ad to 712ad35 Compare January 5, 2026 11:05
@vercel vercel bot temporarily deployed to Preview – nym-explorer-v2 January 7, 2026 10:24 Inactive
@mfahampshire mfahampshire force-pushed the max/crates-io-prep-v2 branch from f7df17e to aea7607 Compare January 8, 2026 15:26
@mfahampshire mfahampshire merged commit cf3fd00 into develop Jan 19, 2026
19 of 22 checks passed
@mfahampshire mfahampshire deleted the max/crates-io-prep-v2 branch January 19, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants